package com.java80.springmall.cloud.order.consumer.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.java80.springmall.cloud.order.consumer.entity.Orders;
@FeignClient(value="mall-order-provider",fallback=OrderClientFallBack.class)
public interface OrderClient {
	@PostMapping("/order/createOrder")
	public boolean createOrder(@RequestBody Orders order);
}
